package com.lei.zjs.utils;

import org.apache.struts2.ServletActionContext;

import com.lei.zjs.vo.User;

public class BOSContext {

	/**
	 * 从session中获取登陆的用户
	 * @return
	 */
	public static User getLoginUser(){
		return (User) ServletActionContext.getRequest().getSession().getAttribute("loginUser");
	}
}
